package com.zxl.common.model.vo.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * @author zxw
 * @date 2023/4/1
 */
@Data
public class UserListVo {
    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("用户名称")
    private String userName;

    @ApiModelProperty("昵称")
    private String nickName;

    @ApiModelProperty("头像")
    private String avatar;

    @ApiModelProperty("手机号")
    private String phone;

    @ApiModelProperty("角色id")
    private Integer roleId;

    @ApiModelProperty("角色名")
    private String roleName;

    @ApiModelProperty("创建时间")
    private Date created;

    @ApiModelProperty("用户状态: 0:禁用  1:启用")
    private Integer statu;
}
